<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单</title>
    <!-- form表单的练习 -->
</head>
<body>
    <form>
        <input type="text"> <br>
        <input type="password"> <br>
        <input type="radio" name="gender" checked="checked" id="male"> <label for="male">男</label>
        <input type="radio" name="gender" id="female"> <label for="female">女</label>
        <br>
        <input type="checkbox" checked="checked"> 吃饭
        <input type="checkbox"> 休息
        <input type="checkbox"> 打游戏
        <br>
        <input type="button" value="这是按钮" onclick="alert('hello')" >
        <br>
        <input type="file">
        <br>
        <select>
            <option>-- 请选择科目 --</option>
            <option selected="selected">JavaSE</option>
            <option>计算机网络</option>
            <option>数据结构</option>
            <option>JavaEE</option>
        </select>
        <br>
        <textarea name="" id="" cols="30" rows="10"></textarea>
    </form>
</body>
</html>